package cn.com.jonpad.cloud.provider.controller;

import cn.com.jonpad.cloud.provider.serivce.TicketSerivce;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TicketController {
	@Autowired
	TicketSerivce ticketSerivce;

	@GetMapping("/get")
	public String getTicket(){
		return ticketSerivce.getTicket();
	}

}
